package com.gamutsoft.amb.common.constants;




/**
 * 常量
 * @author weiyuan
 *
 */
public class Constants {

	/**
	 * 条件“与”
	 */
	public static final String RELATION_AND = "and";

	/**
	 * 条件“或”
	 */
	public static final String RELATION_OR = "or";
	
	/**
	 * 状态：有效
	 */
	public static final String STATE_VALID = "1";
	
	/**
	 * 状态：无效
	 */
	public static final String STATE_INVALID = "0";
	
	/**
	 * 用户标示
	 */
	public static final String SESSION_USER="loginuser";
	/**
	 * 密钥
	 */
	public static final String DAIGOU_KEY="daigou123";
	/**
	 * 用户名
	 */
	public static final String COOKIE_USERNAME="username";
	/**
	 * 密码
	 */
	public static final String COOKIE_PASSWORD="password";
	
    /*********************商品状态开始******************/
	public static final String COMMODITY_STATUSNODE_BUYCAR="01";//在购物车中
	public static final String COMMODITY_STATUSNODE_KEEP="02";//收藏
	
	//商品的后台处理状态
	public static final String COMMODITY_ORDER_NOBUY="00";//未处理
	public static final String COMMODITY_ORDER_DEALING="01";//处理中
	public static final String COMMODITY_ORDER_CHECKING="02";//审核中
	public static final String COMMODITY_ORDER_BUYING="03";//已订购
	public static final String COMMODITY_ORDER_ARRIVAL="04";//已到货
	public static final String COMMODITY_ORDER_STORAGE="05";//已入库
	public static final String COMMODITY_ORDER_SUCCESS="06";//订单完成
    //商品的用户待处理状态
	public static final String COMMODITY_OPERAGE_NOGOOD="10";//无货
	public static final String COMMODITY_OPERAGE_OUTOFSTOCK="11";//暂时缺货
	public static final String COMMODITY_OPERAGE_INVALID="12";//无效订单
	public static final String COMMODITY_OPERAGE_RETURNS="13";//退换货
	public static final String COMMODITY_OPERAGE_HASRETURNED="14";//已退货
	public static final String COMMODITY_OPERAGE_REPLENISHMENT ="15";//补款中
	public static final String COMMODITY_OPERAGE_CONTACTING ="16";//联系卖家中
	public static final String COMMODITY_OPERAGE_PROBLEMORDER ="17";//问题订单
	
	//商品的包裹状态
	
	public static final String COMMODITY_PACKAGESTATUS_NODEALING="00";//未处理
	public static final String COMMODITY_PACKAGESTATUS_DEALING="01";//处理中
	public static final String COMMODITY_PACKAGESTATUS_SHIPMENTS="02";//已发货
	public static final String COMMODITY_PACKAGESTATUS_RECEIPT="03";//确认收货
	public static final String COMMODITY_PACKAGESTATUS_INFOERROR="04";//信息有误
	public static final String COMMODITY_PACKAGESTATUS_REVOKED="05";//已撤销
	public static final String COMMODITY_PACKAGESTATUS_RETREAT_PACKAGE="06";//海关退包
	public static final String COMMODITY_PACKAGESTATUS_SUCCESS="07";//包裹寄送成功
	/*********************商品状态结束******************/
	
	
    /*********************订单状态开始******************/
	public static final String ORDERINFO_NOPAY="01";//待支付
	public static final String ORDERINFO_SUCCESS="02";//支付成功
	public static final String ORDERINFO_FAIL="03";//支付失败
	/*********************订单状态结束******************/
    /*********************新闻发布分类开始******************/
	//帮助中心
	public static final String NEWS_HELP_CENTER="001";//帮助中心
	public static final String FOOT_MENU_SHOW="002";//footer菜单
	public static final String ACCOUNT_MENU_SHOW="003";//我的账户菜单
	/*********************新闻发布分类结束******************/
	
    /*********************包裹货运方式开始******************/
	public static final String PACKAGE_POST_TYPE_LAND="01";//陆运
	public static final String PACKAGE_POST_TYPE_SHIP="02";//海运
	public static final String PACKAGE_POST_TYPE_AIRLIFE="03";//空运
	/*********************包裹货运方式结束******************/
	
	/*********************系统信息读取状态开始******************/
		public static final String MESSAGE_READ_STATUS_OFF="01";//未读
		public static final String MESSAGE_READ_STATUS_ON="02";//已读
		/*********************系统信息读取状态结束******************/
	
}
